package edu.zju.gis.dbfg.queryserver.service;

import edu.zju.gis.dbfg.queryserver.model.SearchResult;

public interface AttributeQueryService {
    SearchResult selectByFromSize(String indexName, int from, int size);

    SearchResult selectByScroll(String indexName, String Scroll, int size);

    SearchResult selectByDocId(String indexName, String id);

    SearchResult selectByField(String indexName, String fieldName, String value);

    long selectTotalSize(String indexName);
}
